<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/temp.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>temp</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<style type="text/css">
<!--
.ListStyle {font-family: Arial, Helvetica, sans-serif}
.STYLE4 {font-size: 10px}
.STYLE7 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
.forLink {font-size: 24px }
.STYLE10 {font-family: Arial, Helvetica, sans-serif; font-size: 24px; }
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
a:active {text-decoration: none;}
a:hover {text-decoration: none;}
-->

</style>
</head>

<body  style="background-image:url(../../images/websitebackgrund.png);">
<table width="802" border="0" align="center">
<tr><td colspan="4"><a href="../User/userlogin.php" class="STYLE7"><img src="../../images/logo.jpg" alt="Home Page"  border="0" /></a> 
  
    </td>
</tr>

  <tr>
  <td width="175" ><div align="center"><a href="../User/userlogin.php" class="STYLE10">User Login</a> </div></td>
    <td width="305"><div align="center"><a href="superUserLogin.php" class="STYLE10">Super User Login</a> </div></td>
    <td width="232"><div align="center"><a href="../Manager/managerLogin.php" class="STYLE10">Manager Login</a> </div></td>
    <td width="291"><div align="center"><a href="../Admin/adminLogin.php" class="STYLE10">Adminster Login</a> </div></td>
  </tr>  <tr>
    <td >&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<!-- InstanceBeginEditable name="EditRegion" -->
<p>
  <?PHP  
   	include ("../../Connections/cpsms.php");
    $id = $_GET['id'];
 	$query = "select * from users where Archiveid='$id';";
	$sql = mysql_query($query) or die(mysql_error());
	$array = mysql_fetch_array($sql);
?> Detals for Super User Searching
</p><table width="400" border="1" cellspacing="0" align="center" bordercolor="#000000">
  <tr>
    <td><table width="651" border="0" align="center">
  <tr>
    <td width="633"><table width="645" border="1" cellspacing="0">
      <tr>
        <td width="140" height="43"><strong>Name:</strong></td>
        <td width="143"><?PHP echo $array['username']; ?></td>
        <td width="70"><strong>PolicIDNo.</strong></td>
        <td width="150"><?PHP echo $array['PoliceIDNo'];?></td>
        <td width="108" rowspan="6"><img src="../../database/userphoto/<?PHP echo $array['Archiveid']; ?>.jpg" alt="photo"  border="0" width="160" height="200"/></td>
      </tr>
      <tr>
        <td height="35"><strong>Gender:</strong></td>
        <td><?PHP 
	if($array['Gender'] == 1)
	{echo "Male";}
	else if($array['Gender'] == 0)
	{echo "Female";}
	else 
	{echo "";}
	?></td>
        <td><strong>DOB</strong></td>
        <td><?PHP echo $array['DOB'];?></td>
      </tr>
      <tr>
        <td height="35"><strong>Birthplace:</strong></td>
        <td><?PHP echo $array['Birthplace'];?></td>
        <td><strong>Ethic</strong></td>
        <td><?PHP echo $array['Ethic'];?></td>
      </tr>
      <tr>
        <td height="31"><strong>PoliticalBackGround:</strong></td>
        <td><?PHP echo $array['Political'];?></td>
        <td><strong>ArchiveNo.</strong></td>
        <td><?PHP echo "PC" .$array['Archiveid'];?></td>
      </tr>
      <tr>
        <td height="33"><strong>workDate:</strong></td>
        <td><?PHP echo $array['WorkDate'];?></td>
        <td><strong>ParthDate</strong></td>
        <td><?PHP echo $array['PartyDate'];?></td>
        </tr>
      <tr>
        <td><strong>PlolicWorkDate:</strong></td>
        <td><?PHP echo $array['PoliceWorkDate'];?></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        </tr>
      <tr>
        <td colspan="2"><strong>Current Position: </strong></td>
        <td colspan="3"><?PHP echo $array['CurrentPosition'];?></td>
      </tr>
      <tr>
        <td><strong>Rank:</strong></td>
        <td><?PHP echo $array['Rank'];?></td>
        <td><?PHP ?></td>
        <td><?PHP ?></td>
        <td><?PHP ?></td>
      </tr>
      <tr>
        <td colspan="2"><strong>FirstEducation</strong></td>
        <td colspan="3"><?PHP echo $array['FirstEducation'];?></td>
      </tr>
      <tr>
        <td colspan="2"><strong>School</strong></td>
        <td colspan="3"><?PHP ?></td>
      </tr>
      <tr>
        <td colspan="2"><strong>HighestEducation</strong></td>
        <td colspan="3"><?PHP echo $array['HighestEducation'];?></td>
      </tr>
      <tr>
        <td colspan="2"><strong>HighestAcademic INstitution&amp;Professional </strong></td>
        <td colspan="3"><?PHP echo $array['HighestAcademicInstitution'];?></td>
      </tr>
      <tr>
        <td colspan="5">&nbsp;</td>
        </tr>
      
    </table></td>
  </tr>
</table></td>
  </tr>
  <tr>
    <td><form id="form2" name="form2" method="post" action="RetrivalUser.php">
      <div align="right">
        <input type="submit" name="Submit2" value="Search other one" />
        </div>
    </form></td>
  </tr>
</table>


<p></p>
<p></p>
<p></p>
<p>&nbsp;</p>
<!-- InstanceEndEditable --> <div class="ListStyle STYLE4" style="background:#51A2B9">Copyright 2010_CP3047_G24   | E-mail:<a href="mailto:xiaoguang.bian@gmail.com">xiaoguang.bian@gmail.com</a> | Address: BJUT,chaoyangqu 100,Beijing. 10022
</div>
</body>
<!-- InstanceEnd --></html>
